// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import Mint from 'mint-ui'; 
import 'mint-ui/lib/style.css'

import Axios from 'axios'

Vue.config.productionTip = false
Vue.use(Mint);

//配置公共url
Axios.defaults.baseURL='http://localhost:8081'
//所有组件都是Vue的原型，所以可以在Vue的原型上面挂载全局组件，方法或者变量
Vue.prototype.$axios=Axios;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
